package com.qyhl.webtv.commonlib.entity.home;

import com.qyhl.webtv.commonlib.entity.act.ActivityLiveBean;
import com.qyhl.webtv.commonlib.entity.shop.ShopListBean;
import com.stx.xhb.androidx.entity.BaseBannerInfo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by qyhl on 2017/11/8.
 * 首页配置信息
 */

public class HomeBean implements Serializable {
    public List<ThreeMenus> threeMenus; //快速入口

    public List<SecMenus> secMenus; //导航栏
    public List<TopNews> topNews;//轮播
    public List<Advs> advs;//广告
    public List<NewsBean> pzNewsList;
    public List<CityBean.TopMenus> cityMenu;
    public List<ShopListBean> pzShopList;
    public ActivityLiveBean pzLive;

    public ActivityLiveBean getPzLive() {
        return pzLive;
    }

    public void setPzLive(ActivityLiveBean pzLive) {
        this.pzLive = pzLive;
    }

    public List<ShopListBean> getPzShopList() {
        return pzShopList;
    }

    public void setPzShopList(List<ShopListBean> pzShopList) {
        this.pzShopList = pzShopList;
    }

    public List<ThreeMenus> getThreeMenus() {
        return threeMenus;
    }

    public void setThreeMenus(List<ThreeMenus> threeMenus) {
        this.threeMenus = threeMenus;
    }

    public static class ThreeMenus implements Serializable {
        public int styleId;
        public int secondId;
        public int siteId;
        public String menuImg; //图标
        public int typeId;
        public String url;    //链接
        public String menuName; //标题

        public int getStyleId() {
            return styleId;
        }

        public void setStyleId(int styleId) {
            this.styleId = styleId;
        }

        public int getSecondId() {
            return secondId;
        }

        public void setSecondId(int secondId) {
            this.secondId = secondId;
        }

        public int getSiteId() {
            return siteId;
        }

        public void setSiteId(int siteId) {
            this.siteId = siteId;
        }

        public String getMenuImg() {
            return menuImg;
        }

        public void setMenuImg(String menuImg) {
            this.menuImg = menuImg;
        }

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getMenuName() {
            return menuName;
        }

        public void setMenuName(String menuName) {
            this.menuName = menuName;
        }

        @Override
        public String toString() {
            return "SecMenus{" +
                    "styleId=" + styleId +
                    ", secondId=" + secondId +
                    ", siteId=" + siteId +
                    ", menuImg='" + menuImg + '\'' +
                    ", typeId=" + typeId +
                    ", url='" + url + '\'' +
                    ", menuName='" + menuName + '\'' +
                    '}';
        }
    }

    public static class SecMenus implements Serializable {
        public int styleId;
        public int secondId;
        public int siteId;
        public String menuImg; //图标
        public int typeId;
        public String url;    //链接
        public String menuName; //标题

        public SecMenus(String menuImg, int typeId, String url, String menuName) {
            this.menuImg = menuImg;
            this.typeId = typeId;
            this.url = url;
            this.menuName = menuName;
        }

        public SecMenus(int styleId, int secondId, int siteId, String menuImg, int typeId, String url, String menuName) {
            this.styleId = styleId;
            this.secondId = secondId;
            this.siteId = siteId;
            this.menuImg = menuImg;
            this.typeId = typeId;
            this.url = url;
            this.menuName = menuName;
        }

        public int getStyleId() {
            return styleId;
        }

        public void setStyleId(int styleId) {
            this.styleId = styleId;
        }

        public int getSecondId() {
            return secondId;
        }

        public void setSecondId(int secondId) {
            this.secondId = secondId;
        }

        public int getSiteId() {
            return siteId;
        }

        public void setSiteId(int siteId) {
            this.siteId = siteId;
        }

        public String getMenuImg() {
            return menuImg;
        }

        public void setMenuImg(String menuImg) {
            this.menuImg = menuImg;
        }

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getMenuName() {
            return menuName;
        }

        public void setMenuName(String menuName) {
            this.menuName = menuName;
        }

        @Override
        public String toString() {
            return "SecMenus{" +
                    "styleId=" + styleId +
                    ", secondId=" + secondId +
                    ", siteId=" + siteId +
                    ", menuImg='" + menuImg + '\'' +
                    ", typeId=" + typeId +
                    ", url='" + url + '\'' +
                    ", menuName='" + menuName + '\'' +
                    '}';
        }
    }

    public class TopNews implements Serializable, BaseBannerInfo {
        public String livetype;
        public String RoomId;
        public String Type;
        public String ArticleURL;
        public String ArticleID;
        public String ArticleTitle;
        public String ArticleImg;
        public String CatalogID;
        public ActivityJson activityJson; //轮播活动
        public int commonStyle = 0;
        public int videoStyle = 0;

        public int getCommonStyle() {
            return commonStyle;
        }

        public void setCommonStyle(int commonStyle) {
            this.commonStyle = commonStyle;
        }

        public int getVideoStyle() {
            return videoStyle;
        }

        public void setVideoStyle(int videoStyle) {
            this.videoStyle = videoStyle;
        }

        @Override
        public Object getXBannerUrl() {
            return ArticleImg;
        }

        @Override
        public String getXBannerTitle() {
            return ArticleTitle;
        }

        public class ActivityJson implements Serializable {
            public String ID;
            public String Name;
            public String Poster;
            public String JoinNumber;
            public String SignUpEndTime;
            public String status;
            public String OpenSignUp;
            public String Type;

            public String getID() {
                return ID;
            }

            public void setID(String ID) {
                this.ID = ID;
            }

            public String getPoster() {
                return Poster;
            }

            public void setPoster(String poster) {
                Poster = poster;
            }

            public String getName() {
                return Name;
            }

            public void setName(String name) {
                Name = name;
            }

            public String getJoinNumber() {
                return JoinNumber;
            }

            public void setJoinNumber(String dtJoinNumber) {
                JoinNumber = JoinNumber;
            }

            public String getSignUpEndTime() {
                return SignUpEndTime;
            }

            public void setSignUpEndTime(String signUpEndTime) {
                SignUpEndTime = signUpEndTime;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getOpenSignUp() {
                return OpenSignUp;
            }

            public void setOpenSignUp(String openSignUp) {
                OpenSignUp = openSignUp;
            }

            public String getType() {
                return Type;
            }

            public void setType(String type) {
                Type = type;
            }
        }

        public String getLivetype() {
            return livetype;
        }

        public void setLivetype(String livetype) {
            this.livetype = livetype;
        }

        public ActivityJson getActivityJson() {
            return activityJson;
        }

        public void setActivityJson(ActivityJson activityJson) {
            this.activityJson = activityJson;
        }

        public String getType() {
            return Type;
        }

        public void setType(String type) {
            Type = type;
        }

        public String getCatalogID() {
            return CatalogID;
        }

        public void setCatalogID(String catalogID) {
            CatalogID = catalogID;
        }

        public String getArticleURL() {
            return ArticleURL;
        }

        public void setArticleURL(String articleURL) {
            ArticleURL = articleURL;
        }

        public String getArticleID() {
            return ArticleID;
        }

        public void setArticleID(String articleID) {
            ArticleID = articleID;
        }

        public String getArticleTitle() {
            return ArticleTitle;
        }

        public void setArticleTitle(String articleTitle) {
            ArticleTitle = articleTitle;
        }

        public String getArticleImg() {
            return ArticleImg;
        }

        public void setArticleImg(String articleImg) {
            ArticleImg = articleImg;
        }

        public String getRoomId() {
            return RoomId;
        }

        public void setRoomId(String roomId) {
            RoomId = roomId;
        }
    }

    public class Advs implements Serializable {
        public String UploadFilePath1;
        public String UploadFilePath2;
        public int type;
        public String outurl;
        public String ID;

        public String getID() {
            return ID;
        }

        public void setID(String ID) {
            this.ID = ID;
        }

        public String getUploadFilePath1() {
            return UploadFilePath1;
        }

        public void setUploadFilePath1(String uploadFilePath1) {
            UploadFilePath1 = uploadFilePath1;
        }

        public String getUploadFilePath2() {
            return UploadFilePath2;
        }

        public void setUploadFilePath2(String uploadFilePath2) {
            UploadFilePath2 = uploadFilePath2;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getOuturl() {
            return outurl;
        }

        public void setOuturl(String outurl) {
            this.outurl = outurl;
        }

        @Override
        public String toString() {
            return "Advs{" +
                    "UploadFilePath1='" + UploadFilePath1 + '\'' +
                    ", UploadFilePath2='" + UploadFilePath2 + '\'' +
                    ", type=" + type +
                    ", outurl='" + outurl + '\'' +
                    ", ID='" + ID + '\'' +
                    '}';
        }
    }

    public List<SecMenus> getSecMenus() {
        return secMenus;
    }

    public void setSecMenus(List<SecMenus> secMenus) {
        this.secMenus = secMenus;
    }

    public List<TopNews> getTopNews() {
        return topNews;
    }

    public void setTopNews(List<TopNews> topNews) {
        this.topNews = topNews;
    }

    public List<Advs> getAdvs() {
        return advs;
    }

    public void setAdvs(List<Advs> advs) {
        this.advs = advs;
    }

    public List<NewsBean> getPzNewsList() {
        return pzNewsList;
    }

    public void setPzNewsList(List<NewsBean> pzNewsList) {
        this.pzNewsList = pzNewsList;
    }

    public List<CityBean.TopMenus> getCityMenu() {
        return cityMenu;
    }

    public void setCityMenu(List<CityBean.TopMenus> cityMenu) {
        this.cityMenu = cityMenu;
    }
}
